package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.vo.DishVO;

import java.util.List;


public interface DishService {


    /**
     * 新增菜品合口味
     * @param dishDTO
     */
    public void saveWithFlavor(DishDTO dishDTO);

    Result<PageResult> page(DishPageQueryDTO dishPageQueryDTO);

    Result<String> delete(List<Long> dls);

    Result<String> changeStatus(int status, Long id);

    Result<DishVO> getById(Long id);

    Result<String> updateDishWithFlavors(DishDTO dishDTO);

    Result<List<Dish>> getByCategory(Long categoryId);
}
